home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: HELP! ANSI-C Date Access
- Date: 22 Mar 96 22:35:51 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.827534151@rscernix>
- References: <4iv2he$pp1@pt9201.ped.pto.ford.com>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <4iv2he$pp1@pt9201.ped.pto.ford.com> rolfe@pt9520.ped.pto.ford.com (David Rolfe) writes:
-
- > Could someone tell me the ANSI-C method of accessing the
- >system date? I've used _dos_getdate under the Borland C++ compiler
- >in DOS. But I'd like to keep this version of my program ANSI-C
- >compatible.
-
- Then check time(), localtime() and gmtime() in your ANSI C book.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-